package com.boat.framework.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用于开关类的枚举
 * 
 * @author 周江
 *
 */
@Getter
@AllArgsConstructor
public enum YesOrNo {
	/**
	 * 有效/开启
	 */
	YES("Y", "有效"),
	/**
	 * 无效/关闭
	 */
	NO("N", "无效");

	private String code;

	private String desc;
}
